package com.hrpmar.controller.dto;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by 李松松 on 2017/11/28.
 */
public class DestoryDto {

    //销毁单号
    private String desNum;
    //销毁状态
    private Integer desState=-1;
    //开始日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    //结束日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    public String getDesNum() {
        return desNum;
    }

    public void setDesNum(String desNum) {
        this.desNum = desNum;
    }

    public Integer getDesState() {
        return desState;
    }

    public void setDesState(Integer desState) {
        this.desState = desState;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
